package net.alpcontrol.bi.colligation.mapper;

import net.alpcontrol.bi.colligation.entity.PjProjectOps;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 丛庆
 * @since 2020-09-11
 */
@DS("master")  //默认为master数据源
@Mapper
public interface PjProjectOpsMapper extends BaseMapper<PjProjectOps> {
    /**
     * 根据项目编码查询项目KPI
     * @param xmbm
     * @return
     */
    Map getPjKpiByXmbm(String xmbm);
}
